Skip to content

Conversation

@PragmaTwice
Copy link
Member

Context of this PR: llvm/llvm-project#167063 (comment)

The current MLIR Python Sphinx documentation cannot handle functions that use Google-style docstrings. In this PR, we introduce support for this feature, allowing Google-style docstrings to be properly converted into reStructuredText.

Before:
image

After:
image

Preview it at: https://mlir-python-googledocstring.surge.sh/autoapi/mlir/_mlir_libs/_mlir/ir/index.html

cc @makslevental @jpienaar

@jpienaar jpienaar merged commit 27b431d into llvm:main Nov 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants